package com.yangaobo.service;

import com.github.pagehelper.PageInfo;
import com.yangaobo.dto.ClubProgressInsertDTO;
import com.yangaobo.dto.ClubProgressPageDTO;
import com.yangaobo.dto.ClubProgressUpdateDTO;
import com.yangaobo.entity.ClubProgress;
import com.yangaobo.excel.ClubProgressExcel;

import java.util.List;

/**
 * @author 杨奥博
 */
public interface ClubProgressService {
    int insert(ClubProgressInsertDTO dto);

    ClubProgress select(Long id);

    List<ClubProgress> list();

    PageInfo<ClubProgress> page(ClubProgressPageDTO dto);

    int update(ClubProgressUpdateDTO dto);

    int delete(Long id);

    int deleteBatch(List<Long> ids);
    List<ClubProgressExcel> getExcelData();

    int endClubProgress(Long id);

}
